﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="KullaniciIletisimBilgileri.ascx.cs"
    Inherits="HPDMAS.UserControls.KullaniciIletisimBilgileri" %>
<asp:DetailsView ID="dvKullaniciIletisimBilgileri" runat="server" AutoGenerateRows="False"
    class="form-actions" Style="padding: 10px; margin-right: 1px;" ViewStateMode="Disabled"
    EmptyDataText="Daha önceden giriş yapılmamış." DataKeyNames="KullaniciID" Width="50%"
    OnModeChanging="dvKullaniciIletisimBilgileri_ModeChanging" OnDataBound="dvKullaniciIletisimBilgileri_DataBound"
    OnItemUpdating="dvKullaniciIletisimBilgileri_ItemUpdating" CellPadding="4" ForeColor="#333333"
    GridLines="None">
    <AlternatingRowStyle BackColor="White" />
    <CommandRowStyle BackColor="#D1DDF1" Font-Bold="True" />
    <EditRowStyle BackColor="#2461BF" />
    <FieldHeaderStyle BackColor="#DEE8F5" Font-Bold="True" />
    <Fields>
        <asp:TemplateField>
            <ItemTemplate>
                <tr>
                    <td align="right" width="200px">
                        <b>İlçe : </b>
                    </td>
                    <td>
                        <%# Eval("Ilce.IlceAdi")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Oturduğu Köy : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciOturduguKoy")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Posta Kodu : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciPostaKodu")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>E-posta : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciEposta")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Cep Telefonu 1 : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciCepTel1")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Cep Telefonu 2 :</b>
                    </td>
                    <td>
                        <%# Eval("KullaniciCepTel2")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Cep Telefonu 3 : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciCepTel3")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Ev Telefonu : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciEvTel")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>İş Telefonu : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciIsTel")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Fax No : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciFaxNo")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Ev Adresi : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciEvAdresi")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>İş Adresi : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciIsAdresi")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Web Adresi : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciWebAdresi")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Meslek : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciMeslek")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Kan Grubu : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciKanGrubu")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Cinsiyet : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciCinsiyet")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Askerlik Yaptı mı? : </b>
                    </td>
                    <td>
                        <asp:CheckBox ID="chbAskerlik" runat="server" Checked='<%# Eval("KullaniciAskerlikYapildiMi")%>'
                            Enabled="false" />
                    </td>
                </tr>
            </ItemTemplate>
            <EditItemTemplate>
                <tr>
                    <td align="right" width="200px">
                        <b>Oturduğu İlçe : </b>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlOturduguIlce" runat="server" Height="30px" Width="165px">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Oturduğu Köy : </b>
                    </td>
                    <td>
                        <asp:TextBox ID="txtOturduguKoy" runat="server" Width="200px" Text='<%# Eval("KullaniciOturduguKoy")%>'></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Posta Kodu : </b>
                    </td>
                    <td>
                        <asp:TextBox ID="txtPostaKodu" runat="server" MaxLength="5" Width="200px" Text='<%# Eval("KullaniciPostaKodu")%>'></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>E-posta : </b>
                    </td>
                    <td>
                        <asp:TextBox ID="txtEposta" runat="server" Width="200px" Text='<%# Eval("KullaniciEposta")%>'></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Cep Telefonu 1 : </b>
                    </td>
                    <td>
                        <asp:TextBox ID="txtCepTel1" runat="server" Width="200px" Text='<%# Eval("KullaniciCepTel1")%>'></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Cep Telefonu 2 :</b>
                    </td>
                    <td>
                        <asp:TextBox ID="txtCepTel2" runat="server" Width="200px" Text='<%# Eval("KullaniciCepTel2")%>'></asp:TextBox>
                    </td>
                </tr>
                <td align="right">
                    <b>Cep Telefonu 3 : </b>
                </td>
                <td>
                    <asp:TextBox ID="txtCepTel3" runat="server" Width="200px" Text='<%# Eval("KullaniciCepTel3")%>'></asp:TextBox>
                </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Ev Telefonu : </b>
                    </td>
                    <td>
                        <asp:TextBox ID="txtEvTel" runat="server" Width="200px" Text='<%# Eval("KullaniciEvTel")%>'></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>İş Telefonu : </b>
                    </td>
                    <td>
                        <asp:TextBox ID="txtIsTel" runat="server" Width="200px" Text='<%# Eval("KullaniciIsTel")%>'></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <tr>
                        <td align="right">
                            <b>Fax No : </b>
                        </td>
                        <td>
                            <asp:TextBox ID="txtFaxNo" runat="server" Width="200px" Text='<%# Eval("KullaniciFaxNo")%>'></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <b>Ev Adresi : </b>
                        </td>
                        <td>
                            <asp:TextBox ID="txtEvAdresi" runat="server" Width="200px" TextMode="MultiLine" Text='<%# Eval("KullaniciEvAdresi")%>'></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <b>İş Adresi : </b>
                        </td>
                        <td>
                            <asp:TextBox ID="txtIsAdresi" runat="server" Width="200px" TextMode="MultiLine" Text='<%# Eval("KullaniciIsAdresi")%>'></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <b>Web Adresi : </b>
                        </td>
                        <td>
                            <asp:TextBox ID="txtWebAdresi" runat="server" Width="200px" Text='<%# Eval("KullaniciWebAdresi")%>'></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <b>Meslek : </b>
                        </td>
                        <td>
                            <asp:TextBox ID="txtMeslek" runat="server" Width="200px" Text='<%# Eval("KullaniciMeslek")%>'></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <b>Kan Grubu : </b>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlKanGrubu" runat="server" Height="30px" Width="165px" AppendDataBoundItems="True"
                                OnSelectedIndexChanged="ddlKanGrubu_SelectedIndexChanged">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <b>Cinsiyet : </b>
                        </td>
                        <td>
                            <asp:RadioButtonList ID="rblCinsiyet" runat="server" RepeatDirection="Horizontal"
                                AutoPostBack="false">
                                <asp:ListItem Text="Bay" Value="Bay"></asp:ListItem>
                                <asp:ListItem Text="Bayan" Value="Bayan"></asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <b>Askerlik Yaptı mı? : </b>
                        </td>
                        <td>
                            <asp:CheckBox ID="chbAskerlik" runat="server" />
                        </td>
                    </tr>
            </EditItemTemplate>
        </asp:TemplateField>
        <asp:CommandField EditText="Düzenle" ShowEditButton="True" CancelText="Vazgeç" DeleteText="Sil"
            InsertText="Ekle" NewText="Yeni" SelectText="Seç" UpdateText="Güncelle" ButtonType="Button" />
    </Fields>
    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
    <RowStyle BackColor="#EFF3FB" />
</asp:DetailsView>
